/**
 * Created by LJY on 2017/3/12.
 */

class CashCard1{
    String number;
    int balance;
    int bonus;
    CashCard1(String number,int balance,int bonus){
        this.number=number;
        this.balance=balance;
        this.bonus=bonus;
    }
}


public class CashApp {
    public static void main(String[] args) {
        CashCard1[] cards={
                new CashCard1("A001",500,0),
                new CashCard1("A002",300,0),
                new CashCard1("A003",1000,1),
                new CashCard1("A004",2000,2),
                new CashCard1("A005",3000,3)
        };
        for(CashCard1 card : cards){
            System.out.printf("(%s, %d, %d)%n",card.number,card.balance,card.bonus);
        }
    }
}
